//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.purvar.boot.comm.api.vo;

import java.io.Serializable;

public class PageEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    private int pageNo = 1;
    private int pageSize = 10;

    public int getPageNo() {
        return this.pageNo;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public void setPageNo(final int pageNo) {
        this.pageNo = pageNo;
    }

    public void setPageSize(final int pageSize) {
        this.pageSize = pageSize;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof PageEntity)) {
            return false;
        } else {
            PageEntity other = (PageEntity) o;
            if (!other.canEqual(this)) {
                return false;
            } else if (this.getPageNo() != other.getPageNo()) {
                return false;
            } else {
                return this.getPageSize() == other.getPageSize();
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof PageEntity;
    }


    public String toString() {
        return "PageEntity(pageNo=" + this.getPageNo() + ", pageSize=" + this.getPageSize() + ")";
    }

    public PageEntity() {
    }
}
